package nlink;

/**
 * When enums need uncontinuous values, implement this interface and have each
 * constant return its numeric value.
 * 
 * <p>
 * When an {@link Enum} class doesn't implement this interface, its
 * {@link Enum#ordinal()} is used as its numeric value.
 * 
 * @author Kohsuke Kawaguchi (kk@kohsuke.org)
 */
public interface NLinkEnum {
	/**
	 * The integer assigned to this constant.
	 */
	int nativeEnumValue();
}
